Use deltapatcher and put in original file the UNDERTALE data.win and in the xdelta put the if_undertale_was_realistic.xdelta.
To uninstall if you have the steam version right click UNDERTALE,click proprieties,click installed files and click verify integrity of game files, if you don't have the steam version you have to make a backup of UNDERTALE.